package com.sky.service;

import com.sky.vo.BusinessDataVO;
import com.sky.vo.DishOverViewVO;
import com.sky.vo.OrderOverViewVO;
import com.sky.vo.SetmealOverViewVO;

import javax.servlet.http.HttpServletResponse;
import java.time.LocalDateTime;

/**
 * @Author 梁科
 * @Version 1.0
 * @ Date 2025/10/31 20:16
 */
public interface WorkSpaceService {
    /**
     * 查询今日运营数据
     * @param begin
     * @param end
     * @return
     */
    BusinessDataVO getBusinessData(LocalDateTime begin, LocalDateTime end);

    /**
     * 工作台查看订单管理数据
     * @return
     */
    OrderOverViewVO overviewOrders();

    /**
     * 工作台查看菜品总览数据
     * @return
     */
    DishOverViewVO dishOverView();

    /**
     * 工作台查看套餐总览数据
     * @return
     */
    SetmealOverViewVO overviewSetmeals();

    /**
     * 导出excel报表
     * @param response
     */
    void exportExcel(HttpServletResponse response);
}
